﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Talento21.Modelo;

namespace Talento21.Negocio.Servicio
{
    public class SrvTipoCompetencia
    {

        SysGestion21Entities db;
        public SrvTipoCompetencia()
            : this(new SysGestion21Entities())
        {

        }

        public SrvTipoCompetencia(SysGestion21Entities context)
        {
            db = context;
        }

        public List<InfTipoCompetencia> ObtenerTiposCompetencias()
        {
            return (from tipoCompetencia in db.InfTipoCompetencia select tipoCompetencia).ToList();
        }

    }
}